Editing pixels with the Paint Bucket tool

After selecting pixels, you can also use the Paint Bucket tool to change selected pixels to the color in the fill color well.

Paint Bucket tool
 

To change selected pixels to the fill color:

1 Choose a color in the fill color well.
2 Click the Paint Bucket tool.
3 In the Paint Bucket tool Options panel, choose Fill Selection Only.
4 Click inside the selection marquee. The selected pixels change to the fill color.